package com;

public class Demo3 {
public static void main(String[] args) {
	int x=1;
	for(int i=1;i<=10;i++){
		x=(x+1)*2;
		
	}
	System.out.println("猴子第一天摘了"+x+"个桃子");
}
}
